www.gusucode.com > 云网互动影视系统(12套模版和资源联盟) 6.2 > 云网互动影视系统(12套模版和资源联盟) 6.2.4/免费版/Admin/Admin_HtmlIndex.asp

    <html>
<head>
<META content=ywnt,云网互动影视管理系统 name=keywords>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>云网互动影视6.0--首页发布管理</title>
<LINK href="css/css.css" type=text/css rel=stylesheet>
<style type="text/css">
<!--
.RefreshLen {
	BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; MARGIN-top: 10px;MARGIN-BOTTOM: 5px; BORDER-LEFT: #000000 1px solid; WIDTH: 400px; BORDER-BOTTOM: #000000 1px solid; HEIGHT: 20px; TEXT-ALIGN: left
}
-->
</style>
</head>
<BODY leftMargin=0 topMargin=0 scroll=yes MARGINHEIGHT="0" MARGINWIDTH="0">
<!--#include file="../conn.asp" -->
<!--#include file="../function/Function.asp" -->
<!--#include file="../function/Labeling.asp" -->
<!--#include file="../function/sysfunction.asp" -->
<%
'===================================================================================================================
'软件名称:云网影视管理系统
'Copyright (C) 2002-2007 ywnt.net  All rights reserved.
'产品咨询QQ:489234,2813712
'程序版权:云网互动科技有限公司
'程序开发:云网互动科技有限公司
'官方网站:http://www.ywnt.net 
'郑重声明:
'    1、免费版本请在程序首页保留版权信息,并做上本站LOGO友情连接,商业版本无此要求;
'    2、任何个人或组织不得在授权允许的情况下删除、修改、拷贝本软件及其他副本上一切关于版权的信息;
'    3、云网互动科技有限公司保留此软件的法律追究权利
'===================================================================================================================
Call CheckLogin("Htmlindex")
if GetConfig("WebHtmlMode")="asp" then 
call Admin_ShowErr("<li>站点生成模式必须是ASP以外的模式才可以使用发布功能</li>","Admin_System.asp",0)
end if%>
<TABLE class=table cellSpacing=1 cellPadding=3 width="98%" align=center border=0>
  <TBODY>
    <TR>
      <TD class=xingmu colSpan=3>发布管理</TD>
    </TR>
    <TR>
      <TD class="hback"><a href="Admin_HtmlIndex.asp">发布首页</a> | <a href="Admin_HtmlType.asp">发布栏目</a> | <a href="Admin_HtmlMovie.asp">发布影片</a> | <a href="Admin_HtmlFeature.asp">发布专题</a> | <a href="Admin_HtmlAllMovie.asp">发布全部影片</a> | <a href="Admin_HtmlFreeMovie.asp">发布免费试看</a></TD>
    </TR>
  </TBODY>
</TABLE>
		<TABLE class=table cellSpacing=1 cellPadding=3 width="98%" align=center border=0>
      <TBODY>
        <TR>
          <TD class=xingmu>发布进度</TD>
        </TR>
		<TR align="center">
          <TD height=32 class="hback"><div class="RefreshLen"><span class="xingmu" id="RefreshLenx"></span></div></TD>
        </TR>
        <TR>
          <TD height=32 align="center" class="hback"><span id="IndexHtml"></span></TD>
        </TR>
      </TBODY>
  </TABLE>
<%TemplateType=1
Set Rs=Server.CreateObject(YWNT_TMS_RS)
sql="select ID,StyleDefault from YWNT_TMS_Style where StyleDefault=1"
Rs.open sql,Conn,1,1
if not Rs.eof then
ID=RS("ID")
else
call Admin_ShowErr("<li>请先添加风格!</li>","Admin_Template.asp",0)
end if
RS.close   
set RS=nothing
Set Rs=Server.CreateObject(YWNT_TMS_RS)
sql="select CssID,Template from YWNT_TMS_Template where StyleID="&ID&" and TemplateType="&TemplateType&""
Rs.open sql,Conn,1,1
if not Rs.eof then
CssID=RS("CssID")
Template=RS("Template")
else
call Admin_ShowErr("<li>请先添加该默认风格下的首页模版!</li>","Admin_Template.asp",0)
end if
RS.close   
set RS=nothing
Set Rs = server.CreateObject(YWNT_TMS_RS)
Sql = "Select NoticeContent from YWNT_TMS_Notice where NoticeType=1 order by id desc"
Set Rs = Conn.Execute(Sql)
if not Rs.eof then
Content=Rs("NoticeContent")
TopNotice="<div id=""hasIE_level1"" style=""background:#FFFFBB; text-align: center; border:1px solid #ffd532; top:0; left:0; width:100%;"">" &vbcrlf
TopNotice=TopNotice&"<div id=""iewarning"" style=""width:19px; float:left;"">" &vbcrlf
TopNotice=TopNotice&"<img align=""absmiddle"" src="""&GetConfig("WebiInstallDir")&"Function/Images/warning.jpg"" border=""0"" />" &vbcrlf
TopNotice=TopNotice&"</div>" &vbcrlf
TopNotice=TopNotice&"<div id=""closeimg"" style=""width:19px; float:right;"">" &vbcrlf
TopNotice=TopNotice&"<a href=""javascript:closediv('hasIE_level1');"" title=""关闭提示""><img src="""&GetConfig("WebiInstallDir")&"Function/Images/close1.jpg"" align=""absmiddle"" border=""0"" /></a>" &vbcrlf
TopNotice=TopNotice&"</div>" &vbcrlf
TopNotice=TopNotice&"<div style=""margin-top:4px;marign-left:4px;font-size:12px;color:#092E20;"">	"&Content&"" &vbcrlf	
TopNotice=TopNotice&"</div>" &vbcrlf
TopNotice=TopNotice&"</div>" &vbcrlf
TopNotice=TopNotice&"<script type=""text/javascript"">" &vbcrlf
TopNotice=TopNotice&"function closediv(i) {" &vbcrlf
TopNotice=TopNotice&"document.getElementById(i).style.display='none'; }" &vbcrlf
TopNotice=TopNotice&"</script>" &vbcrlf
end if
Rs.close
Set RS = Nothing
Template=Tophtml(GetConfig("WebMeta"),GetConfig("WebCentent"),GetConfig("WebName"),CssID,TopNotice&Template)
if FSOSaveFile(GetConfig("WebiInstallDir")&"index."&GetConfig("WebHtmlMode"),ReplaceLableFlag(Template))=True then
Call AddLog("发布首页",2)
Response.Write "<script type=""text/javascript"" language=""javascript"">" & vbNewLine
Response.Write vbTab & "document.getElementById(""RefreshLenx"").style.width = ""100%"";" & vbNewLine
Response.Write vbTab & "document.getElementById(""RefreshLenx"").innerHTML = ""100%"";" & vbNewLine
Response.Write vbTab & "document.getElementById(""IndexHtml"").innerHTML = ""首页发布成功"";" & vbNewLine
Response.Write "</script>" & vbNewLine
Response.Flush
else
Response.Write "<script type=""text/javascript"" language=""javascript"">" & vbNewLine
Response.Write vbTab & "document.getElementById(""RefreshLenx"").style.width = ""0%"";" & vbNewLine
Response.Write vbTab & "document.getElementById(""RefreshLenx"").innerHTML = ""0%"";" & vbNewLine
Response.Write vbTab & "document.getElementById(""IndexHtml"").innerHTML = ""首页发布失败"";" & vbNewLine
Response.Write "</script>" & vbNewLine
Response.Flush
end if
call connclose()%>
</BODY></HTML>